package com.kaigejava.adapter.duck;

/**
 * Created by kaigejava on 2019/8/31.
 * 绿头鸭
 */
public class GreenHeadDuck implements  IDuck {
    @Override
    public void quack() {
        System.out.println("~~gaga~~绿头鸭叫");
    }

    @Override
    public void fly() {
        System.out.println("~~绿头鸭起飞~~");
    }
}
